package com.lzw.breezeNovel.model.entity.pojo.comic;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/15
 * @description 用户评分实体类
 */
@Data
@SuppressWarnings("all")
public class ComicRating extends BaseQuery {

    @Schema(description = "评分记录ID，主键")
    private Long ratingId;

    @Schema(description = "用户ID，关联用户表")
    private Long userId;

    @Schema(description = "漫画ID，关联漫画表")
    private Long comicId;

    @Schema(description = "评分，1-5分")
    private Double rating;

    @Schema(description = "评分时间")
    private Date ratingTime;
}

